package com.smile.model.request;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ToString
@EqualsAndHashCode(callSuper = false)
public class AddOrganizationRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 组织名称
     */
    @NotBlank(message = "组织名称不能为空")
    private String organizationName;

    /**
     * 排序
     */
    @NotNull( message = "排序不能为空")
    private Integer sort;

    /**
     * 负责人
     */
    private String chargeName;

    /**
     * 状态
     */
    @NotNull(message = "状态不能为空")
    private Boolean status;

    /**
     * 父组织id
     */
//    @NotNull(message = "父级菜单不能为空")
    private Long parentId;


}
